package com.rush.manageepac.dao;

import com.rush.manageepac.entity.Personnel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
public interface PersonnelDao {
    int save(Personnel personnel);

    int delete(int id);

    int update(Personnel personnel);

    long selectCount(String name);

    List<Personnel>selectPage(@Param("name") String name,@Param("start")int start,@Param("size")int size);
}
